/*  PrimeBlaster
    by Kjetil Eide 
    kjetile445@gmail.com

    This file is part of PrimeBlaster

    PrimeBlaster is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    PrimeBlaster is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with PrimeBlaster.  If not, see <http://www.gnu.org/licenses/>.
*/

package org.eide.spaceship;

import org.newdawn.slick.Animation;

public class Explosion {

	private float x;
	private float y;
	private Animation expAnim;
	
	public Explosion(float x, float y, Animation explotion) {
		this.x = x;
		this.y = y;
		expAnim = explotion;
		//explotion.restart();
		expAnim.restart();
		//System.out.println("explotion at (" + x + "," + y +")");
	}
	
	public float getX() {
		return x;
	}

	public float getY() {
		return y;
	}
	
	public Animation getAnim() {
		return expAnim;
	}
	
}
